import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
import VueRouter from 'vue-router'
import VueResource from 'vue-resource'
import routes from './router/router'
import Vuex from 'vuex'
import store from './store/store'

Vue.use(ElementUI)
Vue.use(VueRouter)
Vue.use(VueResource)
Vue.use(Vuex)
const router = new VueRouter( {
    routes,
    mode: 'history',
})
new Vue({
  router,
  store,
  el: '#app',
  render: h => h(App)
}).$mount('#app')
